package services;

import entity.UserInfo;

import java.util.Date;

public class UserInfoServices {
    public static void showUserInfo(UserInfo userInfo){
        int userId = userInfo.getUserID();
        String userName = userInfo.getUserName();
        String userPwd = userInfo.getPassWord();
        String userSex = userInfo.getUserSex();
        Date createTime = userInfo.getCreateTime();
        Date updateTime = userInfo.getUpdateTime();
        System.out.println("------------------------------");
        System.out.println("id："+userId);
        System.out.println("姓名："+userName);
        System.out.println("密码："+userPwd);
        System.out.println("性别："+userSex);
        System.out.println("创建时间："+createTime);
        System.out.println("更新时间："+updateTime);
        System.out.println("------------------------------");
    }
}
